Part Number Hot Search : 
42100 SC942160 4732A AD7608 M5518 CD214C 30009 C2404
Product Description
Full Text Search
 

To Download QB-78K0SKX1MINI Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  document no. u17272ej1v0um00 (1st edition) date published september 2004 n cp(k) printed in japan user?s manual QB-78K0SKX1MINI in-circuit emulator target devices 78k0s/ku1+ 78k0s/ky1+ 78k0s/ka1+ 78k0s/kb1+ ?
user?s manual u17272ej1v0um 2 [memo]
user?s manual u17272ej1v0um 3 windows is either a registered tradem ark or a trademark of microsoft cor poration in the united states and/or other countries. pc/at is a trademark of internat ional business machines corporation. the information in this document is current as of september, 2004. the information is subject to change without notice. for actual design-in, refer to the latest publications of nec electronics data sheets or data books, etc., for the most up-to-date specifications of nec electronics products. not all products and/or types are available in every country. please check with an nec electronics sales representative for availability and additional information. no part of this document may be copied or reproduced in any form or by any means without the prior written consent of nec electronics. nec electronics assumes no responsibility for any errors that may appear in this document. nec electronics does not assume any liability for infringement of patents, copyrights or other intellectual property rights of third parties by or arising from the use of nec electronics products listed in this document or any other liability arising from the use of such products. no license, express, implied or otherwise, is granted under any patents, copyrights or other intellectual property rights of nec electronics or others. descriptions of circuits, software and other related information in this document are provided for illustrative purposes in semiconductor product operation and application examples. the incorporation of these circuits, software and information in the design of a customer's equipment shall be done under the full responsibility of the customer. nec electronics assumes no responsibility for any losses incurred by customers or third parties arising from the use of these circuits, software and information. while nec electronics endeavors to enhance the quality, reliability and safety of nec electronics products, customers agree and acknowledge that the possibility of defects thereof cannot be eliminated entirely. to minimize risks of damage to property or injury (including death) to persons arising from defects in nec electronics products, customers must incorporate sufficient safety measures in their design, such as redundancy, fire-containment and anti-failure features. nec electronics products are classified into the following three quality grades: "standard", "special" and "specific". the "specific" quality grade applies only to nec electronics products developed based on a customer- designated "quality assurance program" for a specific application. the recommended applications of an nec electronics product depend on its quality grade, as indicated below. customers must check the quality grade of each nec electronics product before using it in a particular application. the quality grade of nec electronics products is "standard" unless otherwise expressly specified in nec electronics data sheets or data books, etc. if customers wish to use nec electronics products in applications not intended by nec electronics, they must contact an nec electronics sales representative in advance to determine nec electronics' willingness to support a given application. (note) ? ? ? ? ? ? m8e 02. 11-1 (1) (2) "nec electronics" as used in this statement means nec electronics corporation and also includes its majority-owned subsidiaries. "nec electronics products" means any product developed or manufactured by or for nec electronics (as defined above). computers, office equipment, communications equipment, test and measurement equipment, audio and visual equipment, home electronic appliances, machine tools, personal electronic equipment and industrial robots. transportation equipment (automobiles, trains, ships, etc.), traffic control systems, anti-disaster systems, anti-crime systems, safety equipment and medical equipment (not specifically designed for life support). aircraft, aerospace equipment, submersible repeaters, nuclear reactor control systems, life support systems and medical equipment for life support, etc. "standard": "special": "specific":
user?s manual u17272ej1v0um 4 general precautions for handling this product 1. circumstances not covered by product guarantee ? if the product was disassembled, alte red, or repaired by the customer ? if it was dropped, broken, or given another strong shock ? use at overvoltage, use outside guaranteed temperature r ange, storing outside guaranteed temperature range ? if power was turned on while the ac adapter, usb in terface cable, or target system connection was in an unsatisfactory state ? if the ac adapter cable, usb interface cable, target cable, or the like was bent or pulled excessively ? if an ac adapter other than the supplied product was used ? if the product got wet ? if the product and target system were connected while a potential differ ence existed between the gnd of the product and the g nd of the target system ? if a connector or cable was removed while the power was being supplied to the product ? if an excessive load was placed on a connector or socket 2. safety precautions ? if used for a long time, the product may become hot ( 50c to 60c). be careful of low temperature burns and other dangers due to the product becoming hot. ? be careful of electrical shock. there is a danger of electrical shock if the product is used as described above in 1 circumstances not covered by product guarantee .
user?s manual u17272ej1v0um 5 regional information ? device availability ? ordering information ? product release schedule ? availability of related technical literature ? development environment specifications (for example, specifications for third-party tools and components, host computers, power plugs, ac supply voltages, and so forth) ? network requirements in addition, trademarks, registered trademarks, export restrictions, and other legal issues may also vary from country to country. [global support] http://www.necel.com/en/support/support.html nec electronics america, inc. (u.s.) santa clara, california tel: 408-588-6000 800-366-9782 nec electronics hong kong ltd. hong kong tel: 2886-9318 nec electronics hong kong ltd. seoul branch seoul, korea tel: 02-558-3737 nec electronics shanghai ltd. shanghai, p.r. china tel: 021-5888-5400 nec electronics taiwan ltd. taipei, taiwan tel: 02-2719-2377 nec electronics singapore pte. ltd. novena square, singapore tel: 6253-8311 j04.1 n ec electronics (europe) gmbh duesseldorf, germany tel: 0211-65030 ? sucursal en espa?a madrid, spain tel: 091-504 27 87 vlizy-villacoublay, france tel: 01-30-67 58 00 ? succursale fran?aise ? filiale italiana milano, italy tel: 02-66 75 41 ? branch the netherlands eindhoven, the netherlands tel: 040-244 58 45 ? tyskland filial taeby, sweden tel: 08-63 80 820 ? united kingdom branch milton keynes, uk tel: 01908-691-133 some information contained in this document may vary from country to country. before using any nec electronics product in your application, piease contact the nec electronics office in your country to obtain a list of authorized representatives and distributors. they will verify:
user?s manual u17272ej1v0um 6 introduction readers this manual is intended for users w ho wish to perform debugging using the qb- 78k0skx1mini. the readers of this manual are assumed to be familiar with the device functions and usage, and to have knowledge of debuggers. purpose this manual is intended to give users an understanding of the basic specifications and correct usage of the QB-78K0SKX1MINI. organization this manual is divided into following parts. ? general ? setup procedure ? settings at product shipment ? restrictions how to read this manual it is assumed that the readers of this m anual have general knowledge in the fields of electrical engineering, logic circuits, and microcontrollers. this manual describes the basic set up procedures and how to set switches. to understand the overall functions and usages of the QB-78K0SKX1MINI read this manual according to the contents . to know the manipulations, command func tions, and other software-related settings of the QB-78K0SKX1MINI see the user?s manual of the debugger (supplied with the QB-78K0SKX1MINI) to be used. conventions note: footnote for item marked with note in the text caution: information requiring particular attention remark: supplementary information numeric representation: binary ... xxxx or xxxxb decimal ... xxxx hexadecimal ... xxxxh prefix indicating power of 2 (address space, memory capacity): k (kilo): 2 10 = 1,024 m (mega): 2 20 = 1,024 2
user?s manual u17272ej1v0um 7 terminology the following terms are used in this manual. target device this is t he device to be emulated. target system this is the system to be debugged (user-specified system). it includes the target program and the use r-specified hardware. emulation cpu this is the cpu that exec utes the user program in the emulator. on-chip debugging on-chip debugging is a met hod by which a microcontroller is debugged while it is mounted in the target system so as to realize a debugging environment that is the same as the actual environment. related documents when using this manual, also refer to the following manuals. the related documents indicated in this publication may include preliminary versions. however, preliminary versions are not marked as such. documents related to developm ent tools (user?s manuals) document name document no. QB-78K0SKX1MINI in-circuit emulator this manual operation u16656e language u14877e ra78k0s assembler package ver. 1.40 or later structured assembly u11623e operation u16654e cc78k0s c compiler ver. 1.50 or later language u14872e id78k0s-qb ver. 2.81 integrated debugger operation u17287e pm plus ver. 5.10 u16569e pg-fpl2 u17307e caution the related doc uments listed above are subject to change without notice. be sure to use the latest ver sion of each document for designing.
user?s manual u17272ej1v0um 8 contents chapter 1 general........................................................................................................... .................. 9 1.1 feat ures................................................................................................................... ......................................... 9 1.2 functional sp ecifications .................................................................................................. ............................11 1.3 system c onfiguration ....................................................................................................... .............................12 1.3.1 ac adapt er ..................................................................................................................... .......................13 1.4 package contents ........................................................................................................... ...............................14 chapter 2 setup procedure .................................................................................................. ..... 15 2.1 names and functi ons of ha rdware............................................................................................ ...................16 2.1.1 names of parts in qb- 78k0smi ni........................................................................................... ..............16 2.1.2 names of parts in qb-78k 0skx1-da ......................................................................................... ..........18 2.2 clock settings............................................................................................................. ....................................19 2.2.1 clock settings on qb-78k0smi ni side ...................................................................................... ............20 2.2.2 mounti ng a cl ock ......................................................................................................... ..........................21 2.2.3 clock settings on qb-78k0skx1 -da si de.................................................................................... .........23 2.3 target devi ce select ion .................................................................................................... .............................23 2.4 softwar e setti ngs .......................................................................................................... .................................23 2.5 connecting qb-78k0skx 1-da to targ et s ystem ................................................................................. .......23 2.6 connection and st artup pro cedures .......................................................................................... ..................26 2.6.1 connecting qb-78k0smi ni to rela ted dev ices............................................................................... .......26 2.6.2 disconnecting qb-78k0smi ni from rela ted dev ices .......................................................................... ...31 chapter 3 settings at product shipment............... ............................................................ 32 chapter 4 restrictions ...................................................................................................... ........... 33 appendix a target interface equivalent circuit ........................................................... 34
user?s manual u17272ej1v0um 9 chapter 1 general the QB-78K0SKX1MINI is an in-circuit emulator that incor porates the qb-78k0smini and qb-78k0skx1-da and is used to efficiently debug the hardware and software of the target device (78k0s/ku1+, 78k0s/ky1+, 78k0s/ka1+, or 78k0s/kb1+). 1.1 features { emulation using background monitoring method ? no user resources are used { debug functions equivalent to on-chip debug emulator ? access break function: provided ? rrm (real-time ram monitor) function: provided { host interface is usb 2.0 compliant { usb power supply is used for qb-78k0smini { power supply for qb-78k0skx1-da (ac adapter) supplied ? acin: 100 to 240 v supported { target cable supplied ? single-wire cables: target interface of up to 30 pins supported { includes integrated debugger (id78k0s-qb) { includes flash memory programmer (pg-fpl2) { compact and lightweight ? the dimensions of the qb-78k0smini and the qb-78k0skx1-da are shown below. table 1-1. dimensions of QB-78K0SKX1MINI item qb-78k0smini qb-78k0skx1-da height 26.1 mm 36.6 mm (spacer height: 25 mm) width 56.5 mm 120 mm external dimensions depth 84.5 mm (88.5 mm including screws) 120 mm weight approximately 60 g approximately 100 g { can operate as an on-chip debug emulator just by using qb-78k0smini (under study) { commercial ide cable can be used as target interface cable
chapter 1 general user?s manual u17272ej1v0um 10 figure 1-1. external dimensions of QB-78K0SKX1MINI 84.5 mm (including screws: 88.5 mm) 26.1 mm 56.5 mm figure 1-2. external dime nsions of qb-78k0skx1-da 120 mm 120 mm 36.6 mm (spacer height: 25 mm)
chapter 1 general user?s manual u17272ej1v0um 11 1.2 functional specifications table 1-2. product specifications item specification target device 78k0s/ku1+: pd78f9200gr, pd78f9201gr, pd78f9202gr 78k0s/ky1+: pd78f9210gr, pd78f9211gr, pd78f9212gr 78k0s/ka1+: pd78f9221mc, pd78f9222mc 78k0s/kb1+: pd78f9232mc, pd78f9234mc operating power supply qb-78k0smi ni: 5 v power supply via usb cable maximum current consumption: 500 ma since the maximum current consumption is 500 ma, be sure to use a self-powered hub when using a usb hub. qb-78k0skx1-da: 15 v power supply via ac adapter (supplied; supports 100 to 240 v) internal voltage: 1.8 to 5.5 v current consumption: 150 ma target interface power supply voltage (ev dd ) power is supplied from target device 2.0 to 5.5 v (same level as target device) system clock main clock 5 mhz is supplied internally. oscillator or oscillator circuit can be mounted in qb-78k0smini ring-osc high-speed ring-osc : 8 mhz is supplied from oscillator circuit on qb-78k0skx1-da low-speed ring-osc: 250 khz is supplied from oscillator circuit on qb-78k0skx1-da system clock operating range same level as target device target host machine pc-98nx series, ibm pc/at tm compatible host interface mini b connector for usb 2.0 (usb 1.1 compatible) supervisor v850es/kg1+, 20 mhz operation temperature characteristics 0 to 40 c storage temperature ? 15 to 60 c (no condensation) table 1-3. list of debug functions item specification event-triggered break functions no breaks bef ore execution (if using software breaks) one access break software break functions 2000 points forced break functions included peripheral break functions included execution functions step execution, ex ecution from cursor position, etc. slow motion included rrm function enabled (16 bytes/implemented as instantaneous break.) register manipulati on functions included forced reset functions included mask functions reset sp setting overlook protection function included execution time measurement not included trace functions not included
chapter 1 general user?s manual u17272ej1v0um 12 table 1-4. list of peripheral break functions target macro name 16-bit timer/event counter 00 8-bit timer 80 peripheral macro whose peripheral emulation functions stop when a break occurs (peripheral break: when break is set) 8-bit timer h1 remark the watchdog timer stops operating during a break regardless of the peripheral break setting. peripheral macros other than those describ ed above continue operating during a break. see the id78k0s-qb ver. 2.81 integrated debugger user?s manual (u17287e) for peripheral break setting details. 1.3 system configuration the system configuration when using t he QB-78K0SKX1MINI is shown below. when executing debugging by connecti ng the qb-78k0smini and qb-78k0 skx1-da, do not connect the device to the target system. however, be sure to connect the devi ce when writing to the flash memory using the pg-fpl2. see the pg-fpl2 user?s manual (u17307e) to confirm the system co nfiguration when writin g to the flash memory. figure 1-3. system configuration (for emulation) <9> target cables (single-wire cables 30) correspond to pins 8, 16, 20 and 30 <10> target system <6> qb-78k0skx1-da <5> ocd i/f cable or ocd i/f board <8> ac adapter <4> qb-78k0smini <3> usb interface cable <10> device file <2> cd-rom <1> host machine or <7> spacer <1> host machine (sold separately): includes u sb port. pc-98nx series, pc/at compatible can be used <2> cd-rom (supplied): integrated debugger id -78k0s-qb, usb drivers, and user?s manual <3> usb interface cable (supplied): cable connecting QB-78K0SKX1MINI to host machine <4> qb-78k0smini: this product <5> ocd i/f cable, ocd i/f board (supplied): i/f cable, i/f board connecting qb-78k0smini and qb-78k0skx1-da <6> qb-78k0skx1-da: this product <7> spacer (supplied): 25 mm in height
chapter 1 general user?s manual u17272ej1v0um 13 <8> ac adapter (supplied): can support 100 to 240 v by replacing ac plug <9> target cable (supplied): i/f cable connecting qb-78k0skx1-da and target system. <10> device file: download from the nec electronics website. (url: http://www.necel.com/micro/index_e.html) <11> target system (sold separately): tar get board based on user's specifications. when using the QB-78K0SKX1MINI connected to the target system, do not connect the device. 1.3.1 ac adapter by replacing the ac plug, this product can support 100 to 240 v. the following three types are included.
chapter 1 general user?s manual u17272ej1v0um 14 1.4 package contents the following packaging is used with the QB-78K0SKX1MINI. make sure all of these items are included. if any items are missing or damaged, please contact an nec electronics sales representative or distributor. also, be sure to fill out and return the enclosed user registration form. figure 1-4. package contents <5> usb interface cable (mini b a) <6> ocd i/f cable <10> cd-rom <9> user registration form <12> setup manual <14> packing list <11> pin header (cn1) cover for qb-78k0skx1-da <13> pg-fpl2 <2> qb-78k0skx1-da <1> qb-78k0smini <8> target cable (single-wire cables: 30) <4> ac adapter <7> ocd i/f board <3> spacer <1> qb-78k0smini: 1 <2> qb-78k0skx1-da: 1 <3> spacer for qb-78k0skx1-da: 4 <4> ac adapter: 1 <5> usb interface cable (mini b a) (length: 2m): 1 <6> ocd i/f cable (length:20 cm): 1 <7> ocd i/f board: 1 <8> target cable: 1 set (single-wire cables: 30) <9> user registration form: 1 <10> cd-rom: 1 <11> pin header (cn1) cover for qb-78k0skx1-da: 1 <12> setup manual: 1 <13> pg-fpl2: 1 <14> packing list: 1
user?s manual u17272ej1v0um 15 chapter 2 setup procedure this chapter explains the QB-78K0SKX1MINI hardware setting and function setup procedure. setup can be completed by performing installation and setu p in the order in which it appears in this chapter. perform setup according to the following procedure. see 2.1 names and functions of hardware for clock and jumper positions. see 2.5 connecting qb-78k0skx1-da to target system for how to connect the qb-78k0skx1-da to the target system. clock settings the qb-78k0kx1mini operates on the qb-78k0smini internal clock of 5 mhz. if modification of the frequency is necessary, see 2.2 clock settings . high-speed ring-osc: 8 mhz (fixed) low-s p eed rin g -osc: 250 khz ( fixed ) software settings see 2.4 software settings . connection and startup procedures see 2.6 connection and startup procedure . target device selection the target device is set as the 78k 0s/ka1+ or 78k0s/kb1+ at shipment. to emulate the 78k0s/ku1+ or 78k0s/ky1+, see 2.3 target device selection .
chapter 2 setup procedure user?s manual u17272ej1v0um 16 2.1 names and functions of hardware 2.1.1 names of parts in qb-78k0smini figure 2-1. main unit (top view) status power target screw led figure 2-2. main unit (side views) (a) left side (b) right side screw usb1 (usb connector) cn1 (10-pin connector)
chapter 2 setup procedure user?s manual u17272ej1v0um 17 figure 2-3. external view of board cn1 led1 led3 led2 clk1 usb1 (1) usb1 this is a mini b-compatible connector supporting u sb 2.0. this connector is used to connect the qb- 78k0smini to the host machine via a usb cable. (2) cn1 this is a double-row 2.54 pitch type 10-pin connector with a groove for preventing reverse insertion. this connector is used to connect the qb-78k0skx1-da via an ocd i/f cable or using an ocd i/f board. (3) leds three leds are included as status display devices. name display function remark led1 status (run, break, download) run: blinking (slow) after break or debugger start: on download: blinking (fast) before starting debugger: off before starting debugger when target voltage is 1.8 v or higher: on when target voltage is lower than 1.8 v: off led2 target after starting debugger when target voltage = poc voltage or higher: on when target voltage is lower than poc voltage: off led3 power with power supplied from host machine: on without power supplied from host machine: off (4) clk1 a 14-pin dip socket is mounted here. this socket can be us ed for a 14-pin type oscillator (5 v) or to configure an oscillator circuit.
chapter 2 setup procedure user?s manual u17272ej1v0um 18 2.1.2 names of parts in qb-78k0skx1-da figure 2-4. diagram of qb-78k0skx1-da main unit cn1 stop jk1 sw1 fpga halt rmce v dd1 power poc sw2 ocd1 (1) ocd1 this is a double-row 2.54 pitch type 10-pin connec tor with a groove for preventing reverse insertion. this connector is used to connect the qb-78k0skx1-d a to the qb-78k0smini via an ocd i/f cable or ocd i/f board. (2) leds these leds indicate the stat us of the qb-78k0skx1-da. name function when on function when off power power supply of qb-78k0skx1-da is on power supply of qb-78k0skx1-da is off fpga configuration of fpga for emulation is complete configuration of fpga for emulation is not complete halt system is in halt mode normal operation stop system is in stop mode normal operation poc when the target system is connected: internal reset due to poc has occurred when the target system is not connected: v dd = 0 v is detected when the target system is connected: normal operation when the target system is not connected: does not turn off rmce during the rmce bit is being used as p34 pin, reset is masked rmce bit of option byte is being used as reset pin
chapter 2 setup procedure user?s manual u17272ej1v0um 19 (3) switch settings sw1: power supply switch. set to off at shipment. sw2: target device selection switch. se t to 78k0s/ka1+, 78k0s/kb1+ at shipment. (4) v dd1 v dd1 is a service pin. it outputs 3.3 v. (5) cn1 this is a male 40-pin pin header. ? pin header specifications: 0.64 mm 0.64 mm (height: 5.84 mm) this header supports an ide connector and is used to connect the qb-78k0skx1-da to the target system via the target cable. 2.2 clock settings the setting of the clock to be used differs depending on whet her an oscillator or oscillator circuit (clock) is mounted in clk1 of the qb-78k0smini. QB-78K0SKX1MINI clock setting clock is not mounted in clk1 of qb-78k0smini (setting at shipment) clock is mounted in clk1 of qb-78k0smini selection of system clock source ?system? is automatically selected as main clock in the configuration dialog box of the debugger ?clock board? is automatically selected as main clock in the configuration dialog box of the debugger crystal/ceramic oscillation clock external clock input internal clock of qb-78k0smini (5 mh z) clock on clk1 (500 khz to 10 mhz) high-speed ring- osc clock high-speed ring-osc clock (8 mhz) low-speed ring- osc clock low-speed ring-osc clock (250 khz)
chapter 2 setup procedure user?s manual u17272ej1v0um 20 2.2.1 clock settings on qb-78k0smini side the clock socket (clk1) of the qb-78k 0smini does not mount an oscillator or an oscillator circuit at shipment. the socket specifications are shown in (a) to (d) below. note that an oscillator circuit can also be configured by mounting a parts board such as the 160-90-314 (product of preci-dip) in the socket. the capacitors and resistors m ounted on the parts board should be used at the constants recommended by the resonator manufacturer. a diagram of the parts board mounted in clk1 is shown in (e). caution be sure to mount the clock in and remove it from the socket with the power supply to the emulator switched off. (a) equivalent circuit (b) mounted parts (c) example of mounting parts board (oscillat or (d) supported clock module pin assignment circuit parts) 1 2 3 4 5 6 7 14 13 12 11 10 9 8 (e) parts board mounted in clk1 pin number connected part 2-13 capacitor cb 3-12 capacitor ca 4-11 ceramic resonator/crystal resonator 5-10 resistor r x 8-9 shorted 1 m ? 11 4 3 12 ca cb 13 2 5 10 rx 9 8 clock out hcu04 hcu04 v cc nc 1 gnd 7 14 8 clock out top view top view
chapter 2 setup procedure user?s manual u17272ej1v0um 21 2.2.2 mounting a clock mount an oscillator or oscillator circuit in the clock so cket of the qb-78k0smini according to the procedure shown below. caution be sure to mount the cl ock in and remove it from the socket with the power supply to the emulator switched off. (1) loosen the qb-78k0smini?s screw. (2) remove the cover. use the interface connector side as a referenc e point when lifting the usb connector side. the product appears as shown below when the cover has been removed. clock socket
chapter 2 setup procedure user?s manual u17272ej1v0um 22 (3) insert an oscillator or oscillator circuit. insert the oscillator or oscillator circuit to be us ed into the clock socket (the figure shows an oscillator). (4) replace the cover. make sure that the cover is aligned with the two tabs on the interface connector side. (5) close the cover and tighten the screw. this completes the clock mounting procedure. tabs
chapter 2 setup procedure user?s manual u17272ej1v0um 23 2.2.3 clock settings on qb-78k0skx1-da side (1) high-speed ring-osc operation an 8 mhz clock supplied from the oscillator circuit on the qb-78k0skx1-da is used for high-speed ring-osc emulation. (2) low-speed ring-osc operation a 250 khz clock supplied from the oscillator circuit on the qb-78k0skx1-da is used for low-speed ring-osc emulation. 2.3 target device selection the target device is set by using sw2 on the qb-78k0skx1-da. when emulating the 78k0s/ka1+ or 78k0s/kb1+: set to ka1+/kb1+ side (3-6 pin side) when emulating the 78k0s/ku1+ or 78k0s/ky1+: set to ku1+/ky1+ side (1-4 pin side) figure 2-5. sw2 setting when using the 78k0s/ka1+ when using the 78k0s/ku1+ or 78k0s/kb1+ or 78k0s/ky1+ caution be sure to switch the power supply of th e qb-78k0skx1-da off befo re changing the setting. 2.4 software settings see the document id78k0s-qb operating precautions supplied with the debugger (id78k0s-qb) for details. 2.5 connecting qb-78k0skx 1-da to target system connect the qb-78k0skx1-da to the target syst em using the target cable (supplied), etc. cn1 of the qb-78k0skx1-da incorporates a male pin h eader, so be sure to mount a male pin header on the target system connector. connect corresponding pins to ea ch other using a target cable with female connectors on each end. ? specifications of target cable (single-wire cables) red: 250 mm cable for power supply line (connected to v dd and av ref pins) 2 black: 250 mm cable for gnd line (connected to v ss and av ss pins) 2 yellow: 250 mm cable for general signals 26 ka1+/kb1+ ku1+/ky1+ ku1+/ky1+ ka1+/kb1+
chapter 2 setup procedure user?s manual u17272ej1v0um 24 ? specifications of target system pin header: 0.635 mm 0.635 mm (height: 6 mm) when mounting the pin header, ensure that the pin pitch is at least 2.54 mm. cn1 of the qb-78k0skx1-da incorpor ates a 40-pin pin header, so by m ounting an ide connector on the target system, the qb-78k0skx1-da can also be connected to the target system using a commercial ide cable (ata33 standard). the pins in cn1 correspond functionally to the pins of t he target device (pins 8, 16, 20, and 30). the functions of the target device pins can be switc hed using the target device selection s witch (sw2). the attached document qb- 78k0skx1-da pin header (cn1) covers that indicates the signal name of the target device pins is provided. use the appropriate cover by cutting it off from the document along the lines with scissors or a cutter, and cover the cn1 on the qb-78k0skx1-da with it. cautions 1. be careful not to hurt yourself with sci ssors or a cutter when cutting off the qb-78k0skx1- da pin header (cn1) covers. 2. when emulating other than the 78k0s/kb1+, do not connect target i/f (pin header) pins that have not been assigned pin functions (unused pins) to anything. figure 2-6. connection of qb-78k0skx1-da to target system
chapter 2 setup procedure user?s manual u17272ej1v0um 25 table 2-1. pin correspondence target device setting ku1+/ky1+ mode ka1+/kb1+ mode pin no. 78k0s/ku1+ (8 pins) 78k0s/ky1+ (16 pins) 78k0s/ka1+ (20 pins) 78k0s/kb1+ (30 pins) 1 ? ? av ref 2 ? ? ? av ss 3 p20/ani0/ti000/toh1 p20/ani0 4 gnd gnd 5 p21/ani1/ti010/to/intp0 p21/ani1 6 gnd gnd 7 p22/ani2/x2 p22/ani2 8 gnd gnd 9 p23/ani3/x1 p23/ani3 10 gnd gnd 11 v dd v dd 12 v ss v ss 13 ? ? ? p120 14 gnd gnd 15 ? ? p121/x1 16 gnd gnd 17 ? ? p122/x2 18 gnd gnd 19 ? ? p123 20 n.c. n.c. 21 ? ? ? p00 22 ? p40 p40 23 ? ? ? p01 24 ? p41 p41/intp3 25 ? ? ? p02 26 ? p42 p42/toh1 27 ? ? ? p03 28 ? p43 p43/txd6/intp1 29 ? ? p130 30 ? p44 p44/rxd6 31 ? p30/ti000/intp0 32 ? p45 p45 33 ? p31/ti010/to00/intp2 34 ? p46 ? p46 35 p32/intp1 ? p32 36 ? p47 ? p47 37 ? ? ? p33 38 gnd gnd 39 p34/n_reset p34/n_reset 40 gnd gnd remark ? : pins not required in target device gnd: connected to v ss (pin 12) on the qb-78k0skx1-da
chapter 2 setup procedure user?s manual u17272ej1v0um 26 2.6 connection and startup procedures 2.6.1 connecting qb-78k0smini to related devices follow the steps described below when connecting t he qb-78k0smini to other related devices. caution before connecting to any related device, be su re to install the integrated debugger (id78k0s-qb) and usb driver in the host machine. download the device file from nec electronics website. (url: http://www.necel.com/micro/index_e.html) (1) connecting the qb-78k0smi ni to the qb-78k0skx1-da insert the spacer supplie d with the qb-78k0skx1-da. (a) connecting the qb-78k0smini to the qb- 78k0skx1-da using the supplied ocd i/f probe <1> qb-78k0smini side align the ridge in the ocd i/f probe socket with the groove in the qb-78k0smini?s interface connector for preventing reverse insertion and insert the socket into the connector. ridge to prevent reverse insertion groove to prevent reverse insertion
chapter 2 setup procedure user?s manual u17272ej1v0um 27 <2> qb-78k0skx1-da side align the ridge in the ocd i/f probe socket with t he groove in the target connector on the qb- 78k0skx1-da side for preventing reverse insertion and insert the socket into the connector. (b) connecting the qb-78k0smini to the qb-78k0skx1-da using the supplied ocd i/f board the ocd i/f board is made to handle differences in height between the qb-78k0smini and qb- 78k0skx1-da connectors. connect the qb-78k0smini connector to the connector (cn1) on the ocd i/f board, and connect the qb-78k0skx1-da connector to the connector (cn2) on the ocd i/f board. groove to prevent reverse insertion ridge to prevent reverse insertion
chapter 2 setup procedure user?s manual u17272ej1v0um 28 (2) connecting the qb-78k0skx1-da to the target system connect the cn1 connector on the qb-78k0skx1-da to t he target board connector in accordance with the pin assignment of the target device. see 2.5 connecting qb-78k0skx1-da to target system for details. be sure that the power supply to the target system is turned off. (3) connecting the usb interfa ce cable (qb-78k0smini side) connect the usb interface cable?s mini-b connec tor to the qb-78k0mini?s usb connector. mini-b connector
chapter 2 setup procedure user?s manual u17272ej1v0um 29 (4) connecting the usb interface cable (host machine side) connect the supplied usb interface cable?s a connector to the host machine?s usb port. a connector side
chapter 2 setup procedure user?s manual u17272ej1v0um 30 (5) applying power the procedure for applying power is described below usi ng the case where a target system is connected as an example. when the usb interface cable is c onnected to the host machine, only t he qb-78k0mini?s power led is on (the qb-78k0smini?s power is on, the qb-78k0skx1-da ?s power is off, and the target system?s power is off). when turning on the power with the qb-78k0skx1- da connected via the ac adapter, the qb- 78k0skx1-da?s power led is on and when applying power to the target system, the qb-78k0skx1- da?s poc is off (the qb-78k0smi ni?s power is on, the qb-78k0skx1-da?s power is on, and the target system?s power is on). (6) starting up id78k0s-qb after making sure the power is supplied to the qb -78k0smini, qb-78k0skx1-da, and the target system, start up the id78k0s-qb. when the target system is not connec ted, select the ?not permit? on the target power off setting on the id78k0s-qb configuration dialog box.
chapter 2 setup procedure user?s manual u17272ej1v0um 31 2.6.2 disconnecting qb-78k0smini from related devices follow the steps described below when disconnecting the QB-78K0SKX1MINI from other related devices. (1) exit the id78k0s-qb. (2) turn off the power to the target system. (3) turn off the power to the qb-78k0skx1-da. (4) remove the ac adapter from the qb-78k0skx1-da. (5) remove the usb interface cable from the qb-78k0smini and the host machine. (6) remove the qb-78k0smini and qb-78k0skx1-da from the target system.
user?s manual u17272ej1v0um 32 chapter 3 settings at product shipment table 3-1. settings of qb-78k0smini at shipment item setting remarks clk1 1 2 3 4 5 6 7 14 13 12 11 10 9 8 socket for mounting an oscillator or oscillator circuit. see 2.2 clock settings for details. table 3-2. settings of qb-78k0skx1-da at shipment item setting remarks sw1 on off 1 2 3 this is the power supply switch. this switch is set to off at shipment. sw2 ka1+/kb1+ ku1+/ky1+ this is the target device selection switch. this switch is set to 78k0s/ka1+, 78k0s/kb1+ at shipment.
user?s manual u17272ej1v0um 33 chapter 4 restrictions the following restrictions a pply to the QB-78K0SKX1MINI. { clock oscillation or clock input via a resonator on the tar get system is not supported. the clock differs between the device and the tool (QB-78K0SKX1MINI) according to the option byte (oscsel1, oscsel0) setting as follows. oscsel1 oscsel0 device tool 0 0 crystal/ceramic oscillation clock clock on qb-78k0smini 0 1 external clock input clock on qb-78k0smini 1 x high-speed ring-osc clock high-speed ring-osc clock { the low-speed ring-osc clock emulates at 250 khz. { the QB-78K0SKX1MINI has 256 kb of ram. however, the 256 kb ram area can be accessed normally from the user program even when a 128 kb device is being em ulated, so be aware that problems such as stack overflow may occur without your knowledge. { the characteristics of the ad converter, lvi, and po rts are not fully equivalent to those of the device. pull-down resistors have also been inserted at t he port signals to protect the target i/f. see appendix a target interface equivalent circuit for details. { av ss and v ss are equivalent on the QB-78K0SKX1MINI. { when using the QB-78K0SKX1MINI, a correct ad conver sion result can be obtained even without waiting for 1 s to elapse after setting bit 0 (adce) of the a/d converte r mode register (adm) to 1. when using the actual device, however, be sure to execute processi ng such as reading and discarding this result. { the internal functions (regi sters, peripheral macro, multiplier, etc. ) of the qb-78k0skx1-da always operate for the 78k0s/kb1+. therefore, while t he emulation is performed for 78k0s/ka1+, ku1+, or ky1+, if the bit of the register which exists only in the 78k0s/kb1+ is accessed from the program, it can be read or written even if access to the bit is disabled under normal conditions. the multiplication instruction execution is enabled while the emulation is performed for 78k0s/ka1+, ku1+, and ky1+.
user?s manual u17272ej1v0um 34 appendix a target interface equivalent circuit this chapter explains the differences between the signal lines of the ta rget interface circuit of the qb- 78k0skx1mini and the signal lines of the target device. although the target device is a cmos circuit, the target interface circui t of the QB-78K0SKX1MINI consists of an emulation circuit that depends on the emulation cpu, ttl, cmos-ic, etc. when the target system is debugged by co nnecting it to the QB-78K0SKX1MINI, the QB-78K0SKX1MINI emulates just as if the actual target device were operating on the target system. however, small differences arise because th e QB-78K0SKX1MINI actually is emulating. the target interface equivalent circuit of the QB-78K0SKX1MINI is shown in figure a-1 below. figure a-1. equivalent circuit (1/2) v dd nef31pt222z1e9b (filter) target system side QB-78K0SKX1MINI side 100 k ? av ref nef31pt222z1e9b (filter) 100 k ? ku1+/ky1+ ka1+/kb1+ ev dd av dd v ss av ss d7885 (level shifter) d7885 (level shifter) 33 k ? p00 to p03 p30 to p33 p40 to p47 p120 to p123 emulation cpu (fpga) 1 m ? ev dd 3.3 v ev dd 33 k ?
appendix a target interface equivalent circuit user?s manual u17272ej1v0um 35 figure a-1. equivalent circuit (2/2) d7885 (level shifter) ad7813yr (a/d converter) cd74hct4066 (analog switch) cd74hct4066 (analog switch) cd74hct4066 (analog switch) target system side QB-78K0SKX1MINI side p20 to p23 emulation cpu (fpga) 1 m ? av dd av dd 33 k ? exclusive control of p20 to p23 one ad converter is included p34 p130 1 m ? d7885 (level shifter) emulation cpu (fpga) ev dd


▲Up To Search▲   

 
Price & Availability of QB-78K0SKX1MINI

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X